<!DOCTYPE HTML>
<html lang="en-US">
<head>
  <meta charset="UTF-8">
  <title></title>
  <script src="http://cdn.staticfile.org/jquery/1.9.1/jquery.min.js"></script>
  <script src="JsBarcode.all.min.js"></script>
  <style>
    img{width:200px;}
  </style>
</head>
<body>
<div>
  <img id="barcode1"/>
  <script>
    $('#barcode1').JsBarcode("9780199532189",{
      displayValue: true,
      height:60
    });
  </script>
</div>

<div>
  <img id="barcode2"/>
  <script>
    $('#barcode2').JsBarcode("9780199532179", {
      displayValue: true,
      fontSize: 24,
      lineColor: "#0cc",
      height:60
    });
  </script>
</div>

<div>
  <img id="barcode3" />
  <script>
    $('#barcode3').JsBarcode("9780199532179", {
      format: "CODE128",
      displayValue: true,
      height:60
    });
  </script>
</div>
</body>
</html>
